<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head th:replace="layout::head">
    <title>menus : View</title>
</head>
<body>
<div th:replace="layout::navbar"></div>
<h1>menus : Create</h1>
<div class="container">
    <div class="alert alert-success" th:if="${globalmenu}"
         th:text="${globalmenu}">Some Success menu
    </div>
    <div class="pull-right">
        <a th:href="@{/}" href="list.html"> menus </a>
    </div>
    <dl>
        <dt>ID</dt>
        <dd id="id" th:text="${menu.menuid}">123</dd>
        <dt>Name</dt>
        <dd id="text" th:text="${menu.menuname}">A detailed menu that
            is longer than the menuurl.
        </dd>
        <dt>menuurl</dt>
        <dd id="menuurl" th:text="${menu.menuurl}">A short menuurl...
        </dd>

    </dl>
    <div class="pull-left">
        <a href="menus" th:href="@{'/delete/' + ${menu.menuid}}">
            delete </a> | <a href="form.html"
                             th:href="@{'/modify/' + ${menu.menuid}}"> modify </a>
    </div>
</div>
</body>
</html>
